<?php
/**
 * Created by PhpStorm.
 * User: Edward
 * Date: 2019/5/30
 * Time: 14:18
 */

namespace app\Validate;


class AuthGroupValidate  extends BaseValidate {
    protected $rule = [
        'title'=>'require',
        'account_type'=>'require',
        'description'=>'require',
        'ruleList'  =>'require|array'
    ];
    protected $message =  [
        'title'        =>'缺少角色名称',
        'account_type' =>'缺少角色类型',
        'description'  =>'缺少角色描述',
        'ruleList'     =>'缺少勾选的权限数组'
    ];
}